﻿CREATE PROCEDURE [dbo].[friends_update]
    @userId int,
    @friendId int,
    @isAccepted bit
AS
    UPDATE [dbo].[Friends] SET [dbo].[Friends].[FriendId] = @friendId,
    [dbo].[Friends].[UserId] = @userId,
    [dbo].[Friends].[IsAccepted] = @isAccepted

RETURN 0
